Preview: This code is very inefficient! There are 10 almost identical loops!
- Click Run and watch the stage. Use the code in the editor to answer the questions.
- Each loop creates one 10-square row of the mosaic pattern. There are 10 rows, so there are 10 loops!
- Look at the code. Can you identify what is the same in each loop? What is different in each loop?
- Click Submit , then Next to continue.
To navigate the page using the TAB key, first press ESC to exit the code editor.